#include <iostream>
#include <unistd.h>
#include <sys/types.h>
using namespace std;

int main(int argc,char* argv[],char* env[])
{
  int i=0;
  for(;argv[i];i++)
  {
    printf("argv[%d]:%s\n",i,argv[i]);
  }

  printf("--------------------------\n");

  for(i=0;env[i];i++)
  {
    printf("argc[%d]:%s\n",i,env[i]);
  }

  printf("--------------------------\n");

  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  cout<<"Hello C++,I am a C++ pragma!:"<<getpid()<<endl;
  return 0;
}
